The Dreamweaver JavaScript API > CSS style functions > dreamweaver.cssStylePalette.getStyles()

 

dreamweaver.cssStylePalette.getStyles()

Availability

Dreamweaver 3.0

Description

Gets a list of all the class styles in the active document.

Arguments

None.

Returns

An array of strings representing the names of all class styles in the document.

Enabler

None.

Example

Assuming the CSS Styles panel setup shown in this example, a call to dw.cssStylePalete.getStyles() would return an array containing the following strings:

"bigCode"
"red"
"sectionHead"